<!DOCTYPE html>
<html lang="zh-cn">
<head>
  <meta http-equiv="Content-Security-Policy"
        content="default-src * 'self' 'unsafe-inline' 'unsafe-eval' data: gap: content:">
  <meta name="viewport"
        content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui, viewport-fit=cover">
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="default">
  <meta name="theme-color" content="#2196f3">
  <meta name="format-detection" content="telephone=no">
  <meta name="msapplication-tap-highlight" content="no">
    <meta charset="UTF-8">
    <title>Title</title>
  <link rel="stylesheet" href="../../framework7/css/framework7.min.css">

</head>
<body class="ios">
<div class="list inline-labels no-hairlines-md" style="margin:0">
  <ul class="process-form">
    <li class="item-content item-input">
      <div class="item-inner">
        <div class="item-title item-label">标题</div>
        <div class="item-input-wrap">
          <input type="text" id="title" disabled value="">
        </div>
      </div>
    </li>
    <li class="item-content item-input">
      <div class="item-inner">
        <div class="item-title item-label">发起人</div>
        <div class="item-input-wrap">
          <input id="fqr" type="text" disabled value="">
        </div>
      </div>
    </li>
    <li class="item-content item-input">
      <div class="item-inner">
        <div class="item-title item-label">发起时间</div>
        <div class="item-input-wrap">
          <input id="fqsj" type="text" disabled value="">
        </div>
      </div>
    </li>
    <li class="item-content item-input">
      <div class="item-inner">
        <div class="item-title item-label">合同编号</div>
        <div class="item-input-wrap">
          <input id="htbh" type="text" disabled value="">
        </div>
      </div>
    </li>
    <li class="item-content item-input">
      <div class="item-inner">
        <div class="item-title item-label">概要说明</div>
        <div class="item-input-wrap">
          <textarea disabled id="gysm"></textarea>
        </div>
      </div>
    </li>



  </ul>
</div>
<script type="text/javascript">
  window.updataView = function () {
    document.querySelector('#title').value = window.parent.app.data.todoListDetailsFormData.title;
    document.querySelector('#fqr').value = window.parent.app.data.todoListDetailsFormData.fqr;
    document.querySelector('#fqsj').value = window.parent.app.data.todoListDetailsFormData.fqsj;
    document.querySelector('#htbh').value = window.parent.app.data.todoListDetailsFormData.htbh;
    document.querySelector('#gysm').value = window.parent.app.data.todoListDetailsFormData.gysm;
  }
  window.onload = function () {
    console.log('子页面加载完成!重设高度并且根据 表单数据 渲染 页面');
    parent.app.methods.resetTodoListDetailsIFrameHeight(document.querySelector('.list').clientHeight);//
    updataView();
  }
</script>
</body>
</html>
